package com.yyds.service;

import com.yyds.common.MyJSON;
import com.yyds.vo.PreventAreaVo;

import java.util.List;
import java.util.Map;


public interface PreventAreaService {
    //查全部封地区
    MyJSON<PreventAreaVo> selectAllPreventAreaService(Map<String, Object> params);
    //查全部名字
    List<String> selectAreaNameService();
    //添加封控区域
    int insertPreventAreaService(PreventAreaVo preventAreaVo);
    //删除
    int deletePreventAreaServiceById(Integer area_id);
    //修改
    int updatePreventAreaService(PreventAreaVo preventAreaVo);
    //删除部分
    Integer deleteAllPreventArea(String str);
    //统计
    int selectCountPreventArea();
}
